package jolly.clipboard.domain;

/**
 * Created by IntelliJ IDEA.
 * User: david
 * Date: 12/17/11
 * Time: 11:40 AM
 * To change this template use File | Settings | File Templates.
 */
public class Clipboard {

    private String text;

    public Clipboard() {
        text = "";
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public boolean equals(Object o) {
        if (!(o instanceof Clipboard)) {
            return false;
        }

        return text.equals(((Clipboard) o).getText());
    }
}
